package com.cqut.dto;

import com.cqut.util.BeanUtil;
import java.util.Date;
import com.cqut.model.NoticeManager;
import java.io.Serializable;


public class NoticeManagerDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String noticeTitle;
        
        private Date publishTime;
        
        private String publishId;
        
        private String publishName;
        
        private String noticeDetaile;
        /**0 通知公告  1赛事详情*/
        private Integer noticeType;
        
        private String fileId;
        
        private Double pageView;
        
        public String noticeId;
        
        public String competitionId;
        
        public String getCompetitionId() {
			return competitionId;
		}

		public void setCompetitionId(String competitionId) {
			this.competitionId = competitionId;
		}

		public String getNoticeId() {
			return noticeId;
		}

		public void setNoticeId(String noticeId) {
			this.noticeId = noticeId;
		}

		public String getNoticeTitle() {
            return this.noticeTitle;
        }
        
        public void setNoticeTitle(String noticeTitle) {
            this.noticeTitle = noticeTitle;
        }
        
        public Date getPublishTime() {
            return this.publishTime;
        }
        
        public void setPublishTime(Date publishTime) {
            this.publishTime = publishTime;
        }
        
        public String getPublishId() {
            return this.publishId;
        }
        
        public void setPublishId(String publishId) {
            this.publishId = publishId;
        }
        
        public String getPublishName() {
            return this.publishName;
        }
        
        public void setPublishName(String publishName) {
            this.publishName = publishName;
        }
        
        public String getNoticeDetaile() {
            return this.noticeDetaile;
        }
        
        public void setNoticeDetaile(String noticeDetaile) {
            this.noticeDetaile = noticeDetaile;
        }
        
        public Integer getNoticeType() {
            return this.noticeType;
        }
        
        public void setNoticeType(Integer noticeType) {
            this.noticeType = noticeType;
        }
        
        public String getFileId() {
            return this.fileId;
        }
        
        public void setFileId(String fileId) {
            this.fileId = fileId;
        }
        
        public Double getPageView() {
            return this.pageView;
        }
        
        public void setPageView(Double pageView) {
            this.pageView = pageView;
        }
        
        public NoticeManager toModel() {
            NoticeManager model = new NoticeManager();
			BeanUtil.convert(this, model);
			return model;
        }
    
}